package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * addcar对象 tb_car
 * 
 * @author ruoyi
 * @date 2023-09-13
 */
public class TbCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer carId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long batteryId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long manufacturersId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long vehicleId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long vehVehicleId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String carRegistration;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String carElectronic;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String carMotor;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String carBatter;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date creationTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date turnoverTime;

    public void setCarId(Integer carId) 
    {
        this.carId = carId;
    }

    public Integer getCarId() 
    {
        return carId;
    }
    public void setBatteryId(Long batteryId) 
    {
        this.batteryId = batteryId;
    }

    public Long getBatteryId() 
    {
        return batteryId;
    }
    public void setManufacturersId(Long manufacturersId) 
    {
        this.manufacturersId = manufacturersId;
    }

    public Long getManufacturersId() 
    {
        return manufacturersId;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setVehVehicleId(Long vehVehicleId) 
    {
        this.vehVehicleId = vehVehicleId;
    }

    public Long getVehVehicleId() 
    {
        return vehVehicleId;
    }
    public void setCarRegistration(String carRegistration) 
    {
        this.carRegistration = carRegistration;
    }

    public String getCarRegistration() 
    {
        return carRegistration;
    }
    public void setCarElectronic(String carElectronic) 
    {
        this.carElectronic = carElectronic;
    }

    public String getCarElectronic() 
    {
        return carElectronic;
    }
    public void setCarMotor(String carMotor) 
    {
        this.carMotor = carMotor;
    }

    public String getCarMotor() 
    {
        return carMotor;
    }
    public void setCarBatter(String carBatter) 
    {
        this.carBatter = carBatter;
    }

    public String getCarBatter() 
    {
        return carBatter;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setTurnoverTime(Date turnoverTime) 
    {
        this.turnoverTime = turnoverTime;
    }

    public Date getTurnoverTime() 
    {
        return turnoverTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("batteryId", getBatteryId())
            .append("manufacturersId", getManufacturersId())
            .append("vehicleId", getVehicleId())
            .append("vehVehicleId", getVehVehicleId())
            .append("carRegistration", getCarRegistration())
            .append("carElectronic", getCarElectronic())
            .append("carMotor", getCarMotor())
            .append("carBatter", getCarBatter())
            .append("creationTime", getCreationTime())
            .append("turnoverTime", getTurnoverTime())
            .toString();
    }
}
